<style scoped>
  .confirmOne {
    position: fixed;
    z-index: 99;
    width: 100%;
    height: 100%;
    background-color: rgba(000, 000, 000, .3);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
  }

  .confirm-wrap {
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 66;
    font-size: .75rem;/*px*/
    text-align: center;
    box-sizing: border-box;
    border-radius: .125rem;
    line-height: 1rem;
  }

  .confirm-info {
    min-width:10rem;
    max-width: 15rem;
    border-bottom: 1px solid #ccc;/*no*/
    padding: .75rem;
    white-space:normal
    /*word-wrap: break-word*/
  }

  .confirm-btn{
    width: 100%;
    height: 2.5rem;
    color: #0094db;
    box-sizing: border-box;
    line-height: 2.5rem;
  }


</style>

<template>
  <div class="confirmOne">
    <div class="confirm-wrap">
      <div class="confirm-info ell">
        <div>{{confirmOneInfo}}</div>
      </div>
      <div class="confirm-btn fix" @click="confirmOneBtn">{{confirmOneBtnName}}</div>
    </div>
  </div>
</template>





<script>

  export default{
    props: {
      confirmOneBtnName: {default:'确认'},
      confirmOneInfo:{},
    },
    data(){
      return {
//        confirmBtnL: '取消',
//        confirmBtnR: '确认'
      }
    },
    methods: {
      confirmOneBtn() {
        this.$emit('confirmOneBtn');
      }
    }
  }

</script>
